import type { AppRouteModule } from '/@/router/types'

import { LAYOUT } from '/@/router/constant'

const comment: AppRouteModule = {
    path: '/comment',
    name: 'Comment',
    component: LAYOUT,
    redirect: '/comment/list',
    meta: {
        icon: 'openmoji-mobile-message',
        title: '评论管理',
    },
    children: [
        {
            path: 'list',
            name: 'CommentList',
            component: () => import('/@/views/comment/list/list.vue'),
            meta: {
                title: '评论列表',
                icon: 'ant-design:message-filled',
            },
        },
    ],
}

export default comment
